<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>后台管理</title>
    <!--整个标题栏所需要引入的-->
    <link href="{{ url_for('static', filename='css/bootstrap.css') }}" rel="stylesheet" type="text/css"/>
    <link href="{{ url_for('static', filename='assets/css/font-awesome.css') }}" rel="stylesheet" type="text/css"/>
    <link href="{{ url_for('static', filename='css/adminstyle.css') }}" rel="stylesheet" type="text/css"/>
    <!--标题栏小图标都在awesome之内-->
    <script src="{{ url_for('static', filename='js/jquery-1.10.2.js') }}"></script>
    <script src="{{ url_for('static', filename='js/bootstrap.min.js') }}" ></script>
    <!--下拉菜单-->
    <!--标题栏所需要的结束-->
    <script src="{{ url_for('static', filename='js/jquery.metisMenu.js') }}"></script>
    <!-- Custom js-->
    <script src="{{ url_for('static', filename='js/custom-scripts.js') }}"></script>
    <link href='http://fonts.useso.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />
</head>
<body>
<div id="wrapper">
    <!--标题栏设计-->
    <nav class="navbar navbar-default top-navbar" role="navigation">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".sidebar-collapse">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="index.html">酒醉东坡</a>
        </div>

        <ul class="nav navbar-top-links navbar-right">
            <li class="dropdown">
                <a class="dropdown-toggle" data-toggle="dropdown" href="#" aria-expanded="false">
                    <i class="fa fa-envelope fa-fw"></i> <i class="fa fa-caret-down"></i>
                </a>
                <ul class="dropdown-menu dropdown-messages">
                    <li>
                        <a href="#">
                            <div>
                                <strong>John Doe</strong>
                                    <span class="pull-right text-muted">
                                        <em>Today</em>
                                    </span>
                            </div>
                            <div>Lorem Ipsum has been the industry's standard dummy text ever since the 1500s...</div>
                        </a>
                    </li>
                    <li class="divider"></li>
                    <li>
                        <a href="#">
                            <div>
                                <strong>John Smith</strong>
                                    <span class="pull-right text-muted">
                                        <em>Yesterday</em>
                                    </span>
                            </div>
                            <div>Lorem Ipsum has been the industry's standard dummy text ever since an kwilnw...</div>
                        </a>
                    </li>
                    <li class="divider"></li>
                    <li>
                        <a href="#">
                            <div>
                                <strong>John Smith</strong>
                                    <span class="pull-right text-muted">
                                        <em>Yesterday</em>
                                    </span>
                            </div>
                            <div>Lorem Ipsum has been the industry's standard dummy text ever since the...</div>
                        </a>
                    </li>
                    <li class="divider"></li>
                    <li>
                        <a class="text-center" href="#">
                            <strong>Read All Messages</strong>
                            <i class="fa fa-angle-right"></i>
                        </a>
                    </li>
                </ul>
                <!-- /.dropdown-messages -->
            </li>
            <!-- /.dropdown -->
            <li class="dropdown">
                <a class="dropdown-toggle" data-toggle="dropdown" href="#" aria-expanded="false">
                    <i class="fa fa-tasks fa-fw"></i> <i class="fa fa-caret-down"></i>
                </a>
                <ul class="dropdown-menu dropdown-tasks">
                    <li>
                        <a href="#">
                            <div>
                                <p>
                                    <strong>Task 1</strong>
                                    <span class="pull-right text-muted">60% Complete</span>
                                </p>
                                <div class="progress progress-striped active">
                                    <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%">
                                        <span class="sr-only">60% Complete (success)</span>
                                    </div>
                                </div>
                            </div>
                        </a>
                    </li>
                    <li class="divider"></li>
                    <li>
                        <a href="#">
                            <div>
                                <p>
                                    <strong>Task 2</strong>
                                    <span class="pull-right text-muted">28% Complete</span>
                                </p>
                                <div class="progress progress-striped active">
                                    <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="28" aria-valuemin="0" aria-valuemax="100" style="width: 28%">
                                        <span class="sr-only">28% Complete</span>
                                    </div>
                                </div>
                            </div>
                        </a>
                    </li>
                    <li class="divider"></li>
                    <li>
                        <a href="#">
                            <div>
                                <p>
                                    <strong>Task 3</strong>
                                    <span class="pull-right text-muted">60% Complete</span>
                                </p>
                                <div class="progress progress-striped active">
                                    <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%">
                                        <span class="sr-only">60% Complete (warning)</span>
                                    </div>
                                </div>
                            </div>
                        </a>
                    </li>
                    <li class="divider"></li>
                    <li>
                        <a href="#">
                            <div>
                                <p>
                                    <strong>Task 4</strong>
                                    <span class="pull-right text-muted">85% Complete</span>
                                </p>
                                <div class="progress progress-striped active">
                                    <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="85" aria-valuemin="0" aria-valuemax="100" style="width: 85%">
                                        <span class="sr-only">85% Complete (danger)</span>
                                    </div>
                                </div>
                            </div>
                        </a>
                    </li>
                    <li class="divider"></li>
                    <li>
                        <a class="text-center" href="#">
                            <strong>See All Tasks</strong>
                            <i class="fa fa-angle-right"></i>
                        </a>
                    </li>
                </ul>
                <!-- /.dropdown-tasks -->
            </li>
            <!-- /.dropdown -->
            <li class="dropdown">
                <a class="dropdown-toggle" data-toggle="dropdown" href="#" aria-expanded="false">
                    <i class="fa fa-bell fa-fw"></i> <i class="fa fa-caret-down"></i>
                </a>
                <ul class="dropdown-menu dropdown-alerts">
                    <li>
                        <a href="#">
                            <div>
                                <i class="fa fa-comment fa-fw"></i> New Comment
                                <span class="pull-right text-muted small">4 min</span>
                            </div>
                        </a>
                    </li>
                    <li class="divider"></li>
                    <li>
                        <a href="#">
                            <div>
                                <i class="fa fa-twitter fa-fw"></i> 3 New Followers
                                <span class="pull-right text-muted small">12 min</span>
                            </div>
                        </a>
                    </li>
                    <li class="divider"></li>
                    <li>
                        <a href="#">
                            <div>
                                <i class="fa fa-envelope fa-fw"></i> Message Sent
                                <span class="pull-right text-muted small">4 min</span>
                            </div>
                        </a>
                    </li>
                    <li class="divider"></li>
                    <li>
                        <a href="#">
                            <div>
                                <i class="fa fa-tasks fa-fw"></i> New Task
                                <span class="pull-right text-muted small">4 min</span>
                            </div>
                        </a>
                    </li>
                    <li class="divider"></li>
                    <li>
                        <a href="#">
                            <div>
                                <i class="fa fa-upload fa-fw"></i> Server Rebooted
                                <span class="pull-right text-muted small">4 min</span>
                            </div>
                        </a>
                    </li>
                    <li class="divider"></li>
                    <li>
                        <a class="text-center" href="#">
                            <strong>See All Alerts</strong>
                            <i class="fa fa-angle-right"></i>
                        </a>
                    </li>
                </ul>
                <!-- /.dropdown-alerts -->
            </li>
            <!-- /.dropdown -->
            <li class="dropdown">
                <a class="dropdown-toggle" data-toggle="dropdown" href="#" aria-expanded="false">
                    <i class="fa fa-user fa-fw"></i> <i class="fa fa-caret-down"></i>
                </a>
                <ul class="dropdown-menu dropdown-user">
                    <li><a href="#"><i class="fa fa-user fa-fw"></i> User Profile</a>
                    </li>
                    <li><a href="#"><i class="fa fa-gear fa-fw"></i> Settings</a>
                    </li>
                    <li class="divider"></li>
                    <li><a href="#"><i class="fa fa-sign-out fa-fw"></i> Logout</a>
                    </li>
                </ul>
                <!-- /.dropdown-user -->
            </li>
            <!-- /.dropdown -->
        </ul>
    </nav>

    <!--左侧菜单设计-->
    {% block leftmenu %}
    <nav class="navbar-default navbar-side" role="navigation">
        <div class="sidebar-collapse">
            <ul class="nav" id="main-menu">
                <li>
                    <a class="active-menu" href="/admin"><i class="fa fa-facebook-square"></i>首页信息管理</a>
                </li>
                <li>
                    <a href="/admin/infomation"><i class="fa fa-info-circle"></i>个人信息管理</a>
                </li>
                <li>
                    <a href="chart.html"><i class="fa fa-picture-o"></i>图片管理</a>
                </li>
                <li>
                    <a href="tab-panel.html"><i class="fa fa-video-camera"></i>视频管理</a>
                </li>

                <li>
                    <a href="table.html"><i class="fa fa-book"></i>博客管理</a>
                </li>
                <li>
                    <a href="form.html"><i class="fa fa-edit"></i>管理模板</a>
                </li>


                <li>
                    <a href="#"><i class="fa fa-sitemap"></i>模板管理<span class="fa arrow"></span></a>
                    <ul class="nav nav-second-level">
                        <li>
                            <a href="#">模板管理</a>
                        </li>
                        <li>
                            <a href="#">模板管理</a>
                        </li>
                        <li>
                            <a href="#">模板管理<span class="fa arrow"></span></a>
                            <ul class="nav nav-third-level">
                                <li>
                                    <a href="#">模板管理</a>
                                </li>
                                <li>
                                    <a href="#">模板管理</a>
                                </li>
                                <li>
                                    <a href="#">模板管理</a>
                                </li>

                            </ul>

                        </li>
                    </ul>
                </li>
                <li>
                    <a href="empty.html"><i class="fa fa-fw fa-file"></i>模板管理</a>
                </li>
            </ul>
        </div>
    </nav>
    {% endblock %}
    <div id="page-wrapper">
        {% block content %}
        <form class="form_index" role="form" method="post" action="{{ url_for('admin.testbase') }}">
            {{ form.csrf_token }}
            {{ form.name.label(class='name_label') }}
            {{ form.name(class="form-control",type="text", value=HomePageInfo.getValue('name')) }}
            <br>
            {{ form.firstone.label(class='firstone_label') }}
            {{ form.firstone(class='form-control', type='text', value=HomePageInfo.getValue('firstOne')) }}
            <br>
            {{ form.firsttwo.label(class='firsttwo_label') }}
            {{ form.firsttwo(class='form-control', type='text', value=HomePageInfo.getValue('firstTwo')) }}
            <br>
            <div class="button_commit">
            <button type="clear" class="btn btn-info mrgn-can">重置</button>
            <button type="submit" class="btn btn-info mrgn-can btn-default">确定</button>
            </div>
        </form>
        <form class="form_index" role="formfavor" method="post" action="{{ url_for('admin.testbase') }}">
            {{ formfavor.csrf_token }}
            {{ formfavor.favorname.label(class='name_label') }}
            {{ formfavor.favorname(class="form-control",type="text", value=HomePageInfo.getValue('favor')) }}
            {{ formfavor.favornamedoc.label(class='firstone_label') }}
            {{ formfavor.favornamedoc(class='form-control', type='text', value=HomePageInfo.getValue('favordoc')) }}
            <br>
            {{ formfavor.favorone.label(class='firsttwo_label') }}
            {{ formfavor.favorone(class='form-control', type='text', value=HomePageInfo.getValue('favorOne')) }}
            {{ formfavor.favoronedoc.label(class='firsttwo_label') }}
            {{ formfavor.favoronedoc(class='form-control', type='text', value=HomePageInfo.getValue('favorOneDoc')) }}
            <br>
            {{ formfavor.favortwo.label(class='firsttwo_label') }}
            {{ formfavor.favortwo(class='form-control', type='text', value=HomePageInfo.getValue('favorTwo')) }}
            {{ formfavor.favortwodoc.label(class='firsttwo_label') }}
            {{ formfavor.favortwodoc(class='form-control', type='text', value=HomePageInfo.getValue('favorTwoDoc')) }}
            <br>
            {{ formfavor.favorthree.label(class='firsttwo_label') }}
            {{ formfavor.favorthree(class='form-control', type='text', value=HomePageInfo.getValue('favorThree')) }}
            {{ formfavor.favorthreedoc.label(class='firsttwo_label') }}
            {{ formfavor.favorthreedoc(class='form-control', type='text', value=HomePageInfo.getValue('favorThreeDoc')) }}
            <br>
            <div class="button_commit">
            <button type="clear" class="btn btn-info mrgn-can">重置</button>
            <button type="submit" class="btn btn-info mrgn-can btn-default">确定</button>
            </div>
        </form>
        <form class="form_index" role="formwork" method="post" action="{{ url_for('admin.testbase') }}">
            {{ formwork.csrf_token }}
            {{ formwork.myworkname.label(class='name_label') }}
            {{ formwork.myworkname(class="form-control",type="text", value=HomePageInfo.getValue('myworkname')) }}
            {{ formwork.myworkdoc.label(class='firstone_label') }}
            {{ formwork.myworkdoc(class='form-control', type='text', value=HomePageInfo.getValue('myworkdoc')) }}
            <br>
            {{ formwork.myworkone.label(class='firsttwo_label') }}
            {{ formwork.myworkone(class='form-control', type='text', value=HomePageInfo.getValue('mywork1')) }}
            {{ formwork.myworktwo.label(class='firsttwo_label') }}
            {{ formwork.myworktwo(class='form-control', type='text', value=HomePageInfo.getValue('mywork2')) }}
            {{ formwork.myworkthree.label(class='firsttwo_label') }}
            {{ formwork.myworkthree(class='form-control', type='text', value=HomePageInfo.getValue('mywork3')) }}
            {{ formwork.myworkfour.label(class='firsttwo_label') }}
            {{ formwork.myworkfour(class='form-control', type='text', value=HomePageInfo.getValue('mywork4')) }}
            {{ formwork.myworkfive.label(class='firsttwo_label') }}
            {{ formwork.myworkfive(class='form-control', type='text', value=HomePageInfo.getValue('mywork5')) }}
            {{ formwork.myworksix.label(class='firsttwo_label') }}
            {{ formwork.myworksix(class='form-control', type='text', value=HomePageInfo.getValue('mywork6')) }}
            <br>
            <div class="button_commit">
            <button type="clear" class="btn btn-info mrgn-can">重置</button>
            <button type="submit" class="btn btn-info mrgn-can btn-default">确定</button>
            </div>
        </form>
        <form class="form_index" role="formcomment" method="post" action="{{ url_for('admin.testbase') }}">
            {{ formcomment.csrf_token }}
            {{ formcomment.commentname.label(class='name_label') }}
            {{ formcomment.commentname(class="form-control",type="text", value=HomePageInfo.getValue('mycomment')) }}
            {{ formcomment.commentdoc.label(class='firstone_label') }}
            {{ formcomment.commentdoc(class='form-control', type='text', value=HomePageInfo.getValue('mycommentdoc')) }}
            <br>
            {{ formcomment.commentcontent.label(class='firsttwo_label') }}
            {{ formcomment.commentcontent(class='form-control', type='text', value=HomePageInfo.getValue('content')) }}
            {{ formcomment.commentauthor.label(class='firsttwo_label') }}
            {{ formcomment.commentauthor(class='form-control', type='text', value=HomePageInfo.getValue('contentauthor')) }}
            <br>
            <div class="button_commit">
            <button type="clear" class="btn btn-info mrgn-can">重置</button>
            <button type="submit" class="btn btn-info mrgn-can btn-default">确定</button>
            </div>
        </form>
        <form class="form_index" role="formlord" method="post" action="{{ url_for('admin.testbase') }}">
            {{ formlord.csrf_token }}
            {{ formlord.lordonename.label(class='name_label') }}
            {{ formlord.lordonename(class="form-control",type="text", value=HomePageInfo.getValue('tiponename')) }}
            {{ formlord.lordoneintro.label(class='firstone_label') }}
            {{ formlord.lordoneintro(class='form-control', type='text', value=HomePageInfo.getValue('tiponeintro')) }}
            {{ formlord.lordonecontent.label(class='firsttwo_label') }}
            {{ formlord.lordonecontent(class='form-control', type='text', value=HomePageInfo.getValue('tiponecontent')) }}
            {{ formlord.lordoneauthor.label(class='firsttwo_label') }}
            {{ formlord.lordoneauthor(class='form-control', type='text', value=HomePageInfo.getValue('tiponeauthor')) }}
            {{ formlord.lordonedate.label(class='firsttwo_label') }}
            {{ formlord.lordonedate(class='form-control', type='text', value=HomePageInfo.getValue('tiponedate')) }}
            <br>
            {{ formlord.lordtwoname.label(class='name_label') }}
            {{ formlord.lordtwoname(class="form-control",type="text", value=HomePageInfo.getValue('tiptwoname')) }}
            {{ formlord.lordtwointro.label(class='firstone_label') }}
            {{ formlord.lordtwointro(class='form-control', type='text', value=HomePageInfo.getValue('tiptwointro')) }}
            {{ formlord.lordtwocontent.label(class='firsttwo_label') }}
            {{ formlord.lordtwocontent(class='form-control', type='text', value=HomePageInfo.getValue('tiptwocontent')) }}
            {{ formlord.lordtwoauthor.label(class='firsttwo_label') }}
            {{ formlord.lordtwoauthor(class='form-control', type='text', value=HomePageInfo.getValue('tiptwoauthor')) }}
            {{ formlord.lordtwodate.label(class='firsttwo_label') }}
            {{ formlord.lordtwodate(class='form-control', type='text', value=HomePageInfo.getValue('tiptwodate')) }}
            <br>
            {{ formlord.lordthreename.label(class='name_label') }}
            {{ formlord.lordthreename(class="form-control",type="text", value=HomePageInfo.getValue('tipthreename')) }}
            {{ formlord.lordthreeintro.label(class='firstone_label') }}
            {{ formlord.lordthreeintro(class='form-control', type='text', value=HomePageInfo.getValue('tipthreeintro')) }}
            {{ formlord.lordthreecontent.label(class='firsttwo_label') }}
            {{ formlord.lordthreecontent(class='form-control', type='text', value=HomePageInfo.getValue('tipthreecontent')) }}
            {{ formlord.lordthreeauthor.label(class='firsttwo_label') }}
            {{ formlord.lordthreeauthor(class='form-control', type='text', value=HomePageInfo.getValue('tipthreeauthor')) }}
            {{ formlord.lordthreedate.label(class='firsttwo_label') }}
            {{ formlord.lordthreedate(class='form-control', type='text', value=HomePageInfo.getValue('tipthreedate')) }}
 
            <br>
            <div class="button_commit">
            <button type="clear" class="btn btn-info mrgn-can">重置</button>
            <button type="submit" class="btn btn-info mrgn-can btn-default">确定</button>
            </div>
        </form>
        <form class="form_index" role="formcommander" method="post" action="{{ url_for('admin.testbase') }}">
            {{ formcommander.csrf_token }}
            {{ formcommander.commanderone.label(class='name_label') }}
            {{ formcommander.commanderone(class="form-control",type="text", value=HomePageInfo.getValue('footeronecontent')) }}
            {{ formcommander.commandertwo.label(class='firstone_label') }}
            {{ formcommander.commandertwo(class='form-control', type='text', value=HomePageInfo.getValue('footertwocontent')) }}
            {{ formcommander.commanderthree.label(class='firsttwo_label') }}
            {{ formcommander.commanderthree(class='form-control', type='text', value=HomePageInfo.getValue('footerthreecontent')) }}
            <br>
            <div class="button_commit">
            <button type="clear" class="btn btn-info mrgn-can">重置</button>
            <button type="submit" class="btn btn-info mrgn-can btn-default">确定</button>
            </div>
        </form>
        <form class="form_index" role="formfooter" method="post" action="{{ url_for('admin.testbase') }}">
            {{ formfooter.csrf_token }}
            {{ formfooter.footerlink.label(class='name_label') }}
            {{ formfooter.footerlink(class="form-control",type="text", value=HomePageInfo.getValue('footerlink')) }}
            {{ formfooter.footerauthor.label(class='firstone_label') }}
            {{ formfooter.footerauthor(class='form-control', type='text', value=HomePageInfo.getValue('footerauthor')) }}
            <br>
            <div class="button_commit">
            <button type="clear" class="btn btn-info mrgn-can">重置</button>
            <button type="submit" class="btn btn-info mrgn-can btn-default">确定</button>
            </div>
        </form>

        <!-- /. PAGE INNER  -->
        {% endblock %}
    </div>
    <!-- /. PAGE WRAPPER  -->

</div>

</body>
</html>
